﻿@using xConnected.Common.ExpertProfile
<div class="modal hide fade" id="LinkedinProfileDialog" style="display: none;" >
    <div class="modal-header">
    </div>
    <div class="modal-body" data-bind="with: workingProfileBuffer">
        <div class="control-group span6" data-bind="css: {'error': Linkedin.isValid() == false }" >
            <label class="control-label" for="Linkedin"><strong>@Resources.Linkedin</strong></label>
            <div class="controls">
                <input  type="text" class="span4" data-bind="value: Linkedin, valueUpdate: 'afterkeydown', executeOnEnter: $root.profile.okLinkedin" tabindex="1" />
                <span class="help-inline" data-bind="validationMessage: Linkedin"></span>
            </div>
        </div>
    </div>
    <div class="modal-footer">
        <a href="#" class="btn btn-small btn-info" data-bind="click: function() { $root.profile.okLinkedin();}"><strong>@Resources.Ok</strong></a>
        <a href="#" class="btn btn-small" data-bind="click: function() { $root.profile.cancelLinkedin();}"><strong>@Resources.Cancel</strong></a>
    </div>
</div>